-
Notifications
You must be signed in to change notification settings - Fork 73
providers/base: add fscrypt test (New) #2215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3334c41 to
bc7d5f2
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2215 +/- ##
==========================================
+ Coverage 53.70% 53.83% +0.12%
==========================================
Files 401 402 +1
Lines 43144 43270 +126
Branches 7996 8023 +27
==========================================
+ Hits 23170 23293 +123
- Misses 19161 19162 +1
- Partials 813 815 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
c4de44f to
cef64d9
Compare
hawesy-can
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I'm not an expert in this area.
4aba6b4 to
9a34ccc
Compare
3de25d3 to
4e57c8d
Compare
pieqq
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the long silence. I've added a few comments, see if they make sense.
270f461 to
a585b2c
Compare
pieqq
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last tiny change request, and then it should be good.
pieqq
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Let's see if CI passes for older builds.
New: Add a small fscrypt test into the base provider, in its own category.
Description
The new fscrypt test generates an ext4 disk image, mount it and setup fscrypt.
Then it creates a file in the disk image mountpoint, locks it and verifies that the file is not accessible anymore. Finally, it unlocks it and check that the file is accessible and its content is correct.
Tests
checkbox-cli, selectautomated fscrypt test, run the test plan. Tested on my laptop and on my project device (qualcomm arm64 device). Testing with fscrypt already setup and not setup.